{{assign var="title" value="投资记录列表"}}
{{include file="admin/intop.html"}}
<script type="text/javascript">
function deal(){    
    window.location.href = "admin.php?ctl=deal";
}
</script>
<div class="toolsBar">
     <input type="button" value="返回理财项目列表" onclick="deal()" class="button_style">
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table_list">
	<tr>
		<th>ID</th>
		<th>投资者</th>
                <th>投资金额</th>
		<th>理财项目</th>
		<th>融资总额</th>
		<th>收益方式</th>
                <th>创建时间</th>
		
	</tr>
	{{foreach from=$res.data item=item}}
	<tr>
		<td>{{$item.ID}}</td>
		<td>{{$user_arr[$item.AUSER_ID]["REALNAME"]}}</td>
                <td>{{$item.MONEY}} 元</td>
		<td>{{$item.TITLE}}</td>
		<td>{{$item.PRICE}} 元</td>
		<td>{{$type_loan[$item.TYPE_LOAN]}}</td>
		<td>{{$item.CREATE_TIME|date_format:"%Y-%m-%d %H:%M:%S"}}</td>

	</tr>
	{{/foreach}}
	{{if $res.count}}
		<tr class="bottom"><td colspan="10" class="page">{{$res.page}}</td></tr>
	{{else}}
		<tr><td colspan="10">没有数据记录</td></tr>
	{{/if}}
</table>
{{include file="admin/infoot.html"}}